const express = require('express')

const router = express.Router()

// 导入用户路由处理函数对应的模块
const cailiao_handler = require("../handle-cailiao/cailiao")
//导入原材了路由处理函数
const yuancai_handler = require("../handle-cailiao/yuancai")

// 查询用户
router.post('/getCailiaoList', cailiao_handler.getCailiaoList)
// // 查询角色
// router.post('/addUser', user_handler.addUser)


// 查询原材料
router.post('/getYuancaiList', yuancai_handler.getYuancaiList)

module.exports = router